package cn.tedu.jsd2205the.back.end.project.service.impl;

import cn.tedu.jsd2205the.back.end.project.mapper.OrderMapper;
import cn.tedu.jsd2205the.back.end.project.mapper.ProductMapper;
import cn.tedu.jsd2205the.back.end.project.pojo.entity.Order;
import cn.tedu.jsd2205the.back.end.project.pojo.entity.ShopCart;
import cn.tedu.jsd2205the.back.end.project.service.IOrderService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
@Slf4j
public class OrderServiceImpl implements IOrderService {
    @Autowired
    private OrderMapper orderMapper;
    @Autowired
    private ProductMapper productMapper;

    @Override
    public void insert(Order order, ShopCart shopCart) {
        //todo 暂未实现10/07
    }

    /**
     * 根据id 删除订单
     * @param id
     */
    @Override
    public void deleteById(int id) {

    }
}
